home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Periodicals / develop / develop Issue 16 / develop 16 code / CollaboDraw / draw.window.h < prev    next >
Encoding:
Text File  |  1993-08-24  |  3.5 KB  |  53 lines  |  [TEXT/MPS ]

  1. WindowPtr DrawMakeWindow(Rect *wRect,StringPtr title,Boolean visible,short wdefProc,Boolean goAwayFlag);
  2. void *DrawDestroyWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  3. void *DrawIdleWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  4. void *DrawFixCursorWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  5. void *DrawActivateWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  6. void *DrawDeactivateWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  7. void *DrawUpdateWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  8. void *DrawResizeWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  9. void *DrawKeyWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  10. void *DrawClickWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  11. void *DrawUndoWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  12. void *DrawCutWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  13. void *DrawCopyWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  14. void *DrawPasteWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  15. void *DrawClearWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  16. void *DrawPrintWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  17. void *DrawPageSetupWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  18. void *DrawSaveWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  19. void *DrawLoadWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  20. void *DrawEventWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  21. void *DrawHitControlWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  22. void *DrawSelectAllWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  23. void *DrawGroupWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  24. void *DrawUnGroupWindow(WindowPtr window,WInfoPtr infoPtr,void *data);
  25.  
  26. void SetDrawMethods(WInfoPtr info);
  27.  
  28. void EnterNewShape(WindowPtr window,WInfoPtr infoPtr,Point where);
  29. Boolean WarpExistingShape(WindowPtr window,WInfoPtr infoPtr,Point where,Boolean extendSelection);
  30. Boolean CheckHitShape(WindowPtr window,WInfoPtr infoPtr,Point offsetPos,Point hitPt,ShapeListPtr theShape,Boolean *warp);
  31. void RubberBandShape(short shapeType,Point anchor,Point *retDestination,Point offset);
  32. void DrawAllShapes(WInfoPtr infoPtr,Point offsetPos);
  33. void DrawShapeObject(ShapeListPtr theShape,Point drawOffset,Boolean selected);
  34. void DrawCurrentShape(short theShape,Point anchor,Point endPt,Point drawOffset);
  35. void DrawAnchorPoints(ShapeListPtr theShape,Point drawOffset,Boolean selected);
  36. void EraseAnchorPoints(ShapeListPtr theShape,Point drawOffset);
  37. Boolean CheckHitAnchor(ShapeListPtr theShape,Point hitPt,Point offsetPos,Point *anchor,Point *endPt);
  38. void FixRect(Rect *rect);
  39. void OffsetShape(ShapeListPtr theShape,short deltaH,short deltaV);
  40. ShapeListPtr AddShape(short currentShape,Point anchor,Point destination,ShapeListPtr subList,ShapeListPtr *shapeHead,Boolean addToEnd);
  41. void AddShapeUndo(short currentShape,Point anchor,Point destination,WindowPtr window,WInfoPtr infoPtr);
  42. void RemoveTopShape(WindowPtr window,WInfoPtr infoPtr);
  43. void InvalShapeArea(WindowPtr window,WInfoPtr infoPtr,ShapeList *theShape);
  44. short CheckShapeSelected(WInfoPtr infoPtr);
  45. short CheckGroupSelected(WInfoPtr infoPtr);
  46. void GetGroupBounds(ShapeListPtr groupList,Point *anchor,Point *destination);
  47. OSErr SaveFileToTemp(WInfoPtr infoPtr,FSSpec *fSpec);
  48. OSErr SaveDrawingToDisk(short fRefNum,WInfoPtr infoPtr);
  49. OSErr SaveShapesToDisk(short fRefNum,ShapeListPtr shapeList,long *totalCount);
  50. OSErr LoadShapesFromDisk(short fRefNum,ShapeListPtr *shapeHead);
  51. void FixDrawMenus(WInfoPtr infoPtr);
  52. void FixDrawEditMenu(void);
  53.